enum PROCESS_TYPE {FOREGROUND, BACKGROUND};

struct _NODE_PROCESS {
	int pid;
	int type;
	struct _NODE_PROCESS *next;
};

struct _LINKED_LIST_PROCESS {
	struct _NODE_PROCESS *head;
	int size;
};

typedef struct _NODE_PROCESS * nodeProcess;
typedef struct _LINKED_LIST_PROCESS * listProcess;

struct _LINKED_LIST_PROCESS * createListProcess(void);
int insertNodeProcess(struct _LINKED_LIST_PROCESS *,int,int);
void printProcess(struct _LINKED_LIST_PROCESS *);

